package com.wiringweb.parameterprocessor.implementation;

import com.wiringweb.parameterprocessor.ParameterProcessorInterface;
import java.lang.annotation.Annotation;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author Dmitry
 */
public class HttpRequestImpl extends ParameterProcessorInterface {

    @Override
    public Object process(HttpServletResponse response, HttpServletRequest request, String[] urlParameter, int parameterIndex) {
        return request;
    }

    @Override
    public ParameterProcessorInterface construct(Class argumentType, Annotation annotation) {
        return new HttpRequestImpl();
    }

}
